package com.kssoft.ebd.spider.common.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * 直播流指令---开播参数
 * @author liwu
 * @since 2025/6/24
 */
@Data
@Configuration
public class IssueLiveStreamParamConfig {
    /**
     * http://smartexpress/ed/speaker/issueLiveStream?fileId=28&programId=&areaListString=5105030101&issueTerminals=&broadCastType=0&mediaType=audio&schemeType=-1&volume=80&eventLevel=0&assetName=%E6%B3%B8%E5%8E%BF%E5%B9%BF%E6%92%AD(udp%3A%2F%2F%40192.168.19.182%3A35004)&rdsSendMode=0
     */
    @Value("${spider.broadcast.startLiveStream.fileId}")
    private String fileId;
    @Value("${spider.broadcast.startLiveStream.programId:}")
    private String programId;
    @Value("${spider.broadcast.startLiveStream.areaListString}")
    private String areaListString;
    @Value("${spider.broadcast.startLiveStream.issueTerminals:}")
    private String issueTerminals;
    @Value("${spider.broadcast.startLiveStream.broadCastType:0}")
    private String broadCastType;
    /**
     * 媒体类型 音频-audio 视频
     */
    @Value("${spider.broadcast.startLiveStream.mediaType:audio}")
    private String mediaType;
    @Value("${spider.broadcast.startLiveStream.schemeType:-1}")
    private String schemeType;
    @Value("${spider.broadcast.startLiveStream.volume:80}")
    private String volume;
    @Value("${spider.broadcast.startLiveStream.eventLevel:0}")
    private String eventLevel;
    @Value("${spider.broadcast.startLiveStream.assetName}")
    private String assetName;
    @Value("${spider.broadcast.startLiveStream.rdsSendMode:0}")
    private String rdsSendMode;
}
